package com.edu.bean;

import java.util.Date;

public class Comment {
	private int commentid;
	
	private int userid;
	
	private int carid;
	
	private String commentString;
	
	private Date commetnTime;

	public int getCommentid() {
		return commentid;
	}

	public void setCommentid(int commentid) {
		this.commentid = commentid;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public int getCarid() {
		return carid;
	}

	public void setCarid(int carid) {
		this.carid = carid;
	}

	public String getCommentString() {
		return commentString;
	}

	public void setCommentString(String commentString) {
		this.commentString = commentString;
	}
	
	public Date getCommetnTime() {
		return commetnTime;
	}

	public void setCommetnTime(Date commetnTime) {
		this.commetnTime = commetnTime;
	}

	public Comment(int userid, int carid, String commentString, Date commetnTime) {
		super();
		this.userid = userid;
		this.carid = carid;
		this.commentString = commentString;
		this.commetnTime = commetnTime;
	}

	public Comment(int commentid, int userid, int carid, String commentString, Date commetnTime) {
		super();
		this.commentid = commentid;
		this.userid = userid;
		this.carid = carid;
		this.commentString = commentString;
		this.commetnTime = commetnTime;
	}

	public Comment() {
		super();
	}
	
	
}
